package com.zc.demo.di;

import com.zc.demo.di.interfaces.Performer;

/**
 * 定义演员-杂技师
 * Created by zhangchi9 on 2016/11/2.
 */
public class Juggler implements Performer {

    private int beanBags = 3;//初始化3个沙包道具

    public Juggler(){}

    public Juggler(int beanBags){
        this.beanBags = beanBags;
    }
    @Override
    public void perform() {
        System.out.println("JUGGLING "+beanBags+" BEANBAGS");
    }
}
